<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>站内信 - Powered by shoppingl</title>
<meta name="keywords" content="$!config.keywords" />
<meta name="description" content="$!config.description" />
<meta name="generator" content="shopping 2.0" />
<meta name="author" content="www.shopping.com">
<meta name="copyright" content="shopping Inc. All Rights Reserved">
<link href="$!webPath/resources/style/system/front/default/css/public.css" type="text/css" rel="stylesheet" />
<link href="$!webPath/resources/style/system/front/default/css/user.css" type="text/css" rel="stylesheet" />
<script src="$!webPath/resources/js/jquery-1.6.2.js"></script>
<script src="$!webPath/resources/js/jquery-ui-1.8.21.js"></script>
<script src="$!webPath/resources/js/jquery.shop.common.js"></script>
</head>
<body>
$!httpInclude.include("/top.htm")
<div class="main"> $!httpInclude.include("/buyer/head.htm")
  <div class="user_center">
    <table width="1000" border="0" cellspacing="0" cellpadding="0" class="user_table">
      <tr>
        $!httpInclude.include("/buyer/account_nav.htm?op=message")
        <td id="centerbg" valign="top">
        <div class="buyer_position"><div class="buyer_p_box"><a href="$!webPath/buyer/account.htm">我的账户</a> > <span>站内短信</span></div></div>
        <div class="productmain">
          <div class="ordernav">
            <ul class="orderul">
              <li #if($!type==1)class="this"#end><a href="$!webPath/buyer/message.htm">收到消息（<strong class="red">$!{user_msgs.size()}</strong>）</a></li>
              <li #if($!type==2)class="this"#end><a href='$!webPath/buyer/message.htm?from_user_id=$!user.id' class="other">已发送消息（<strong class="red">$!{reply_msgs.size()}</strong>）</a></li>
              <li #if($!type==0)class="this"#end><a href="$!webPath/buyer/message.htm?type=0">系统消息（<strong class="red">$!{sys_msgs.size()}</strong>）</a></li>
            </ul>
          </div>
          <div class="ordercon">
              <div class="alldel">
                <div class="right">
                <a class="button_common" href="$!webPath/buyer/message_send.htm">发送站内短信</a></div>
                <div class="alldel_l"> <span class="alldel_la">
                 <input name="all" type="checkbox" id="all" value="" onclick="selectAll(this);"/>
                </span><span class="alldel_lb"><label for="all">全选</label></span> <span  class="alldel_lc"><a href="javascript:void(0);" onclick="cmd('$!webPath/buyer/message_del.htm','')">删除</a></span> </div>
              </div>
			  <form method="post" name="ListForm" id="ListForm">
              <div class="operation">
                <table width="790" border="0" cellspacing="0" cellpadding="0" id="opertable" >
                  <tr id="opertitle">
                    <td width="170">发送人
                      <input name="mulitId" type="hidden" id="mulitId" />
                      <input name="type" type="hidden" id="type" value="$!type" />
                      <input name="currentPage" type="hidden" id="currentPage" value="$!currentPage" /></td>
                    <td width="330">内容</td>
                    <td width="150">时间</td>
                    <td align="center">操作</td>
                  </tr>
				  #foreach($obj in $objs)
                  <tr >
                    <td ><input name="checkbox" type="checkbox" id="checkbox" value="$!obj.id" />
                      $!obj.fromUser.userName 
                       #if($!obj.status==0)<span style="color:#FF0000;">[未读]</span>#end
                       #if($!{obj.fromUser.id}==$!{user.id}&&$!obj.reply_status==1)<span style="color:#FF0000;">[新回复]</span>#end
                    </td>
                    <td>$!CommUtil.substring("$!obj.content",50)</td>
                    <td  >$!CommUtil.formatLongDate($!obj.addTime)</td>
                    <td class="operajt"><span class="see"><a href="$!webPath/buyer/message_info.htm?id=$!obj.id&type=$!type">查看</a></span><span class="del"><a href="javascript:void(0);" onclick="if(confirm('是否确定删除短信?'))window.location.href='$!webPath/buyer/message_del.htm?mulitId=$!obj.id&type=$!type'">删除</a></span></td>
                  </tr>
				  #end
                </table>
              </div>
              <div class="alldel">
                <div  class="userfenye">$!gotoPageFormHTML</div>
                <div class="alldel_l"> <span class="alldel_la">
                  <input name="all1" type="checkbox" id="all1" value="" onclick="selectAll(this);"/>
                </span><span class="alldel_lb"><label for="all">全选</label></span> <span  class="alldel_lc"><a href="javascript:void(0);" onclick="cmd('$!webPath/buyer/message_del.htm','')">删除</a></span> </div>
              </div>
			  </form>
            </div>
          </div></td>
      </tr>
    </table>
  </div>
  $!httpInclude.include("/footer.htm")
</div>
</body>
</html>
